﻿@page "/"
@attribute [Authorize(Roles = "admin")]
    <AuthorizeView>
        <h1>Hello, @context.User.Identity.Name!</h1>
        @foreach (var item in context.User.Claims)
        {

            <h4>@item.Type:@item.Value</h4>
        }
    </AuthorizeView>
@code {

}
